package com.easyedu.helper.dao;

import com.easyedu.core.entity.po.Student;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface StudentDao {

     @Insert("insert into student set student_number = #{studentNumber},institute_id = #{instituteId},"
             + "institute_name = #{instituteName},department_id = #{departmentId},department_name = #{departmentName},"
             + "grade = #{grade},administration_class = #{administrationClass} ,name = #{name},sex = #{sex}")
     Integer addStudent(Student student);

}
